Pete Hegseth, President-elect Donald Trump’s pick for secretary of defense, has repeatedly criticized policies allowing gay people to serve openly in the US military, calling them part of a “Marxist” agenda to prioritize social justice over combat readiness.