Priscilla Chan’s decision to stop funding the school she opened to help struggling families shows the risks for communities reliant on wealthy private donors.