Asian stock markets close midweek with losses