The private equity firm founded with a check from Steve Ballmer is buying the public relations firm known for its campaign work with Democratic clients.