Ireland beat Scotland by two wickets in WCQ warm-up match