After weeks of tense negotiations, California’s legislative leaders agreed Thursday on a $6.5 billion proposal aimed at getting students back in classrooms this spring following months of closures because of the pandemic.