In his speech at the Republican convention in 2016, Donald Trump spoke of the mass shooting at a gay nightclub in Orlando, where a man with jihadist sympathies murdered 49 people. “As your president, I will do everything in my power to protect our L.G.B.T.Q. citizens from the violence and oppression of a hateful foreign ideology,” he said.