Counties and states have turned away from bail systems reliant on cash and moved toward release decisions based on a defendant’s evaluated risk of posing a danger to society or skipping court.