U.S. Open champion Sam Stosur reached the WTA Qatar Open final after Marion Bartoli quit during the second set because of an injured leg.