In threatening to deploy the military justice system against Democrats, Hegseth has joined Trump’s norm-shattering bid to punish political foes.