The CFTC went beyond its authority when it tried to block Kalshi's move to offer contracts tied to the 2024 election, a judge ruled.