Declining birth rates, staffing shortages, and financial pressures have led 56 California hospitals to shutter maternity units over the past dozen years.