The families say in the lawsuit that TikTok’s algorithm is designed to trap vulnerable users in cycles of despair for profit and seeks reparations.