Europe has been warned against "poking the bear" with US President Donald Trump, as world leaders reaffirmed their support for Ukrainian President Volodymyr Zelensky at a European summit.