Generalized lucky-drift model for impact ionization in semiconductors with disorder