Inelastic X-ray scattering determination of the dynamic structure factor of liquid lithium