This elegant city in southern Puglia pairs grand baroque architecture with contemporary galleries, vibrant nightlife and some of the region’s best food.