A new calibration method for charm jet identification validated with proton-proton collision events at $\sqrt{s}$ = 13 TeV