NSW inquest considers death in custody