TikTok asked a federal appeals court on Tuesday to strike down as unconstitutional a new law that could lead to the shutdown of the app in the United States.