Former world number one Caroline Wozniacki claims the biggest win of her comeback by beating 11th seed Petra Kvitova to reach the US Open third round.