MANCHESTER, N.H.—Republican presidential candidate Donald Trump on Tuesday called for a 25% or greater tax on profits from the Keystone XL pipeline from Canada to the U.S., days after the Obama administration rejected a Canadian company's application to construct it.