Asian stock markets close midweek with losses except for China