Donald Trump has reportedly discussed Pete Hegseth's future with advisers after the Republican midterm defeat, while publicly defending the defence secretary amid pressure over the Iran war.