World number one Caroline Wozniacki has kept her hopes of a maiden Grand Slam title alive after reaching the fourth round of the Australian Open.