The investment bank is catching up to Goldman Sachs and Morgan Stanley when it comes to taking companies public. But it has its work cut out for it with WeWork.