X-ray Spectroscopy Study of Defect Contribution to Lithium Adsorption on Porous Carbon