Dark matter relic abundance beyond kinetic equilibrium