Chinese-owned TikTok sued the U.S. government in federal court, saying that it protects its users’ data and challenging President Trump’s executive order that would effectively ban the video-sharing app if it doesn’t find an American buyer for its U.S. operations.