An Australian man has appeared in a Thai court for the first time after allegedly killing a teenage girl whose body was later found in a discarded suitcase.