Wimbledon champion Simona Halep has been forced to retire from the Wuhan Open after sustaining a back injury against Elena Rybakina in the third round in China.