Duolingo has seen a surge in U.S. Mandarin learners as TikTok users explore Chinese social app RedNote amid a looming ban.