The Special Forces soldier made more than $400,000 on Polymarket as a result of the bets, prosecutors alleged.