A shareholder class action has been filed against Snap Inc., alleging the camera and social-media company's co-founders have stripped holders of public shares of their voting rights while giving themselves more flexible control.