A global QCD analysis of diffractive parton distribution function considering higher twist corrections within the xFitter framework