I don't know about hemlock, but I do know there are some plants which become more palatable once they are dried. Ragwort is one example and must always be removed from the reach of livestock once it is pulled up. If you can't remove it it's better to leave it growing.
It will also depend on how savvy your goats are, and a lot of that will depend on their background and whether they have been raised by their mothers on varied
free range browse. I would make a guess that with lots of other browse available they won't bother with the hemlock whether growing or left on the ground, but I would be wary of risking it.
Maybe you could escort them out to a patch and see what their reaction is. Goat language for "this is bad, don't eat it" is an explosive sneezing sound. If your lead goat goes up to the plant, nibbles it and makes that noise then walks on, you may find the other goats also try it and and repeat the noise, and this would be an indication they are not going to eat it. I've heard of people doing it themselves to demonstrate to the goats that something is not to be eaten.