Ghana has recorded its biggest cocoa harvest in three years, according to two people familiar with the matter, after better weather conditions boosted output in the world’s second-biggest grower.