A proposed law could reboot California’s public investment system to provide a stable source of local funding for affordable housing.