Appeals court hears case of Turkish student detained for writing op-ed