High in the mountains between Spain and France, a long-neglected train station has become an opulent hotel.