Drift-kinetic stability analysis of z–pinches