Consumer-brands company Edgewell cut its full-year outlook, saying sales of sunscreen products are set to decline as people spend less on travel.