An Adjoint-Based Approach for a Class of Nonlinear Fokker-Planck Equations and Related Systems