Would you say the same if they refused to serve kosher/halal meals for Muslim/Jewish patients?
UK law protects some philosophical beliefs equally to religions. (what qualifies is a bit of a mess as it's all case law)
(On a practical note, I imagine it's easier for hospitals to just serve vegan food for anyone who is vegetarian/Muslim/Jewish rather than have specific kosher/halal meals)
Religion tends to be more constitutive to a person's self-identity than purity signalling dietary trends.
Actual yes since I think all religions are illogical…