An Iranian assassination threat against President Donald Trump prompted an extraordinary operation last month in which he flew secretly from Turkey on an alternate military aircraft while the White House said he was aboard Air Force One.