David Warner wins Allan Border medal