Caroline Wozniacki believes the US Open made the right decision to default Novak Djokovic after the top seed struck the line judge with a ball.