The ban is the latest legal setback for prediction markets, which are facing regulatory pushback around the world.