Can selling a glass of wine deplete the right fraction of a bottle?
Yes.
Yes. Mark the bottle of wine as an ingredient of the wine glass, and set how much is depleted from the bottle per glass depending on the glass size. Selling a glass then lowers that bottle's stock accordingly.