the amount of wine required for the mass isn't exactly the same as what would be drunk during meals, especially as, in monasteries, not all monks are priests.
And even if wine wouldn't be banned, I think the wine would be stored under lock and key, if only to avoid consumption outside of meals