Rob Bonta, the state’s Democratic Attorney General, was expected to vie to succeed Gov. Gavin Newsom as governor in 2026.