A cow and its owner have been detained by police in South Sudan after the animal allegedly killed a 12-year-old boy in the country.