WeWork is considering a candidate with deep ties to its majority shareholder SoftBank Group Corp. as its new chief executive officer, people familiar with the matter have said, in hopes of turning around the troubled coworking company.