TONDER, Denmark — Trying to halt the spread of a disease that can wipe out domestic pig populations, Denmark intends to build a fence along its border with Germany to keep out the pigs’ wild cousins.