A New York judge approved the restriction, which Kalshi offered while fighting the state’s attempt to shut it down.