Dynamics of a z-pinch x-ray source for heating ICF relevant hohlraums