Gyrokinetic stability theory of z–pinches