In Costa Rica, cacao is under constant threat from diseases and environmental challenges, N.Y. Times reports.