Wozniacki wins first tournament as world number one in Beijing