US president dismisses Kyiv's complaints that it is being sidelined in talks to end the war in Ukraine.