Summary:

If a city is captured, its World Wonders are captured as well. A city's National Wonders are destroyed when the city is captured.
The city's culture and military buildings (monuments, barracks, etc.) are always destroyed when the city is taken. All other buildings have a 66% chance of being captured intact.