Treasury Wine Estates has agreed to sell its Baileys of Glenrowan winery assets to Yellow Tail owner Casella Family Brands.