Mothers hosting playdates near cordoned-off parks, mahjong maestros huddled in streets and youngsters slugging night-time beers on barricaded sidewalks—Beijingers are making the most of the small spaces available as China’s coronavirus controls close in.