Derivation of a Boltzmann equation with higher-order collisions from a generalized Kac model