I'm about 99% certain that you get the culture regardless of whether you're trading that wine away or not.
I'm less certain whether you get the culture from the building or the tile. If the latter, then you would need to be working that tile to get it. I think you get the culture from the building (so you get it whether you work the Wine tile or not), but I'm not very sure of that.