A bacterial infection called early mortality syndrome has reduced shrimp output in Thailand, the world’s largest shrimp exporter, by as much as 40 percent, driving prices in the U.S. up by about 20 percent.