A Sri Lankan man charged over the alleged sexual assault of a woman on board a flight to Australia has been banned from leaving the country as his court case continues.