In district attorney elections in California, wealthy donors are challenging law-and-order campaigns with a new strategy of funding would-be prosecutors who want to reduce incarceration, crack down on police misconduct and revamp a bail system they contend unfairly imprisons poor people before trial.