Bail denied for teacher's fatal NSW ordeal