In 2003, scientists discovered wolves refused to cross a simple line of fluttering flags; today it helps protect cattle without killing predators