The C.E.O. and his team drove Meta’s efforts to capture young users and misled the public about the risks, lawsuits by state attorneys general say.