Elena Rybakina won the Ningbo Open to secure her first title since becoming world No 1 earlier this year.