Investment returns at private foundations dropped by 12% last year, a sharp turnaround from the 16.3% gains they realized in 2021.