US snack maker Lance has cut its full-year earnings outlook on the back of increasing ingredient and energy costs.