House Republicans were hoping to elect a new speaker of the House on Wednesday after Kevin McCarthy’s ouster.