McDonald’s Corp. agreed to host former President Donald Trump at a Pennsylvania store over the weekend but said it isn’t endorsing a candidate in the U.S. presidential race.