Reporters asked Trump whether ending the war in Ukraine would help him