Wave-packet dynamics of resonant x-ray Raman scattering: Excitation near the ClLII,IIIedge of HCl