U.S. President Donald Trump said he had long had a good relationship with Russian President Putin, but expressed frustration at his failure to end the war