TikTok Inc. is facing setbacks in its legal fight against a law that would ban the short-video sensation in the U.S. unless its Chinese parent ByteDance Ltd. sells it off by Jan. 19. That leaves TikTok with two potential lifelines — the U.S. Supreme Court and President-elect Donald Trump.