Like Matera, Gravina in Puglia stretches along a ravine that’s punctured with cave homes. But you won’t find tourist hordes.