Novak Djokovic has been detained in Australia ahead of a court hearing that will determine whether he can stay in…