The cooking classes and kids’ camps ran for more than 40 years but have operated at a loss for some time, the co-op grocer’s CEO wrote.