Nine-time Australian Open winner had been granted a medical exemption from organizers, but border officials said he failed to provide appropriate evidence; tennis star to appeal