On the Darboux transformation of a generalized inhomogeneous higher-order nonlinear Schrödinger equation