Nestled among olive groves and sun-soaked fields, masserie—historic fortified farmhouses—dot the landscape of Puglia, Italy.