Representanthuset i USA har röstat för att avsätta den republikanske talmannen Kevin McCarthy, rapporterar amerikanska medier.