Theoretical analysis for dynamic contact angle hysteresis on chemically patterned surfaces