President-elect Donald Trump backed Republican Mike Johnson was re-elected as the US House Speaker in a close race after two opponents switched their votes.