Petra Kvitova collected her second WTA Tour title of the year after winning a topsy-turvy final at the Pan Pacific Open in Japan.