The wellness platform’s results arrived amid heightened legal and regulatory scrutiny over its weight-loss-drug business.