I don’t see why it would be immoral if empirically short people accounted for 75% of your shrinkage while being less than 50% of the shopping pop in your store.
Asking if it is right to judge people based on their mental health is an entirely different topic than asking if we can judge people based on a physical characteristic they were born with and have no control over. Apples and oranges.