Donald Trump has agreed to begin negotiations to end the war in Ukraine during a phone call with Vladimir Putin.