TikTok said Tuesday it would allow parents to limit the time their teens spend on the app as the Chinese-owned social network confronts political fallout from rising claims on excessive screen time.