Difference in X-ray scattering between metallic and non-metallic liquids due to conduction electrons