The US president has hit out at critics who questioned why Ukraine was not present at the recent Russia-US talks on ending the war in Ukraine