An ultra-dense fast outflow in a quasar at z = 2.4