Dynamics and X-ray emission of a galactic superwind interacting with disk and halo gas