A trial in the closely watched class-action lawsuit accusing a period tracking app of improperly sharing user data with Meta for targeted advertising opened in a Northern California federal court on Monday.