Resonant Scattering of X-ray Emission Lines in the Hot Intergalactic Medium