State Estimation For Reaction-Diffusion Equations With Applications To Lithium-Ion Batteries