For decades, Beijing’s Beihai Park has been one of the city’s most beloved retreats—a strip of green around a grand lake to the north of the Communist Party’s leadership compound, its waters crowded with electric rental boats shaped like ducks and lotus flowers.