President Donald Trump on Wednesday said he spoke with Russian President Vladimir Putin about ending the war in Ukraine.