Pete Hegseth has denied sexual misconduct allegations after being nominated as Donald Trump’s defence secretary.