At the rally, she attacked the military’s gender-pronoun training and received substantial applause.