ConAgra Foods is to shut a biscuit factory in the US state of Wisconsin amid falling demand.