San Francisco’s population is bouncing back for the first time since losing tens of thousands in the post-pandemic exodus