 Private-equity executives and their firms are dipping into their own pockets to create funds designed to help portfolio company employees, health-care workers and other communities adversely affected by the coronavirus pandemic. 