Donald Trump has hinted at changes to his Cabinet after Republicans lost control of Congress, while defending his administration's war record and expressing confidence in Pete Hegseth.