The Aussie wildcard jumped for joy as he beat the world number one in the four-set match