Hierarchical Nanocapsules of Cu-Doped MoS2@H-Substituted Graphdiyne for Magnesium Storage