House Speaker Mike Johnson, endorsed by President-elect Donald Trump, narrowly won re-election, beating back a tiny right-wing rebellion that ultimately supported him.