While WeWork slows leasing to get into financial shape, a rival shared-office provider is increasing its business by shifting away from a franchise model that builds coworking space to one that manages these spaces for landlords and real estate developers.