On the Generalized Distance Energy of Graphs