Taiwan's Hsieh Su-Wei has become the first Asian to win the WTA Malaysian Open after her opponent Petra Martic was forced to retire through injury.