Rep. Matt Gaetz of Florida took the lead in the vote on the “motion to withdraw,” drawing together more than a few conservative Republican opposition to the speaker, as well as many Democrats.