The crypto prediction platform Polymarket has filed a lawsuit against Massachusetts in federal court.