North Texas detention officer killed by inmate at jail, officials say