A lawsuit against X, formerly Twitter, is set to be heard in the U.S. District Court for the Northern District of Texas.