County prosecutor killed near North Texas courthouse