The state’s wealthiest school district is facing a financial crisis years in the making.