Melbourne has won the right to host the first round of the sailing World Cup for the next three years.