More than a decade after Jessica Alba cofounded The Honest Company with a mission to deliver cleaner, healthier products for families, the brand faces new challenges in a shifting consumer landscape.