Personally, I don't think anal gland issues has anything to do with food, at least for some cats. I feed raw food and one of my cats occasionally needs his glands emptied. He poops just fine.
Any canned food would be beneficial to a cat in general. What does your vet recommend, besides the usual prescription food which isn't necessary?