For over a century, the city’s rooftop gardens and gathering places have offered myriad ways to escape the hubbub of street level