Meta and a coalition of US states settled the major federal trial centring on allegations that the social media giant misrepresented the extent of child-related mental health harms caused by its platforms.