Donald Trump, who is scheduled to address the nation later in the day, said he could walk away from the war in two to three weeks once he felt confident Iran would not be able to build a nuclear weapon — even if Tehran does not agree to a ceasefire.