Nonresidents used to be a financial boon, but California’s budget crisis is changing the way schools are financed.