Modified smoothed particle hydrodynamics approach for modelling dynamic contact angle hysteresis