About two-thirds of the approximately 40 House “Freedom Caucus” members voted to back Ryan for speaker if he contests.