Near-threshold $ mathrm{D}overline{mathrm{D}} $ spectroscopy and observation of a new charmonium state