When the Pakistan goat breeds were in danger of being lost, the competitions became a part of a national effort to preserve and improve them.