The lawsuit alleges that tech giants knew young people were vulnerable to addictive features on social media, but targeted them anyway.