The Meta chief executive was called to the witness stand in a civil trial over a lawsuit that accuses Instagram of knowingly causing harm to children.