Theresa May remains wedded to her Brexit plan despite being told it "will not work" at a summit of European Union leaders, setting up a tense month of negotiations as time runs out to reach a deal.