The justices are set to hear arguments over a federal law requiring the China-based social-media app to shut down or find new owners by Jan. 19.