Closed similarity solutions for a class of stationary nonlinear Boltzmann-like equations