California lawmakers are considering a future without the use of fossil fuels to generate electricity, a step that would boost the renewable energy industry and expand the scope of the state’s battle against global warming.