Unit sales of plant-based dairy products are sliding even as dollar sales are up in most categories as inflation-related price hikes simultaneously cushion companies’ margins and discourage some consumers from trying new products and paying premium products.