Quasipotential analysis for deriving the multidimensional Sagdeev potential equation in multicomponent plasma