Alison Riske produced a defensive masterclass to withstand two-time champion Petra Kvitova and book her place in the Wuhan Open final.