US President Donald Trump has told the leaders of Mexico and Canada that he will not pull out of the North American Free Trade Agreement (NAFTA), just hours after administration officials said he was considering a draft executive order to do just that.