As more Long Islanders bet on apps such as Kalshi and Polymarket, New York State says some contracts are illegal gambling.