Meta CEO Mark Zuckerberg for the first time testified in court about accusations that social media, including Instagran, harm children’s mental health.