As Lebanon prepares for the papal visit, the event becomes a measure of the state’s capacity to recover, coordinate, and deliver services after years of instability