The risk of an escalation in the war in Ukraine and the prospect of a return of US President-elect Trump's isolationist "America First" policies also dominated the talks in Brazil