Generalized kinetic equation and its application to models of relativistic nuclear dynamics