The killing appeared to be targeted: A Mexican rights activist at the house was only slightly wounded in the attack, but Caceres’s body had four bullet wounds. Police said they had detained a suspect, but did not identify the person.