Meta and state attorneys general settled a federal trial centering on allegations that company misrepresented the extent of child-related mental health harms.