House Republicans face a leadership shake-up after losing their majority, with a battle over the party’s next leader looming.