X. Corp., formerly Twitter, claims a California law requiring large social media companies to report their content moderation practices to the Attorney General violates the First Amendment, according to a lawsuit Friday.