Stability of ideal lattices from quadratic number fields