Cocoa’s stunning rise and its equally remarkable slump are beginning to shake up the longstanding way of doing business in West Africa, the region that supplies the bulk of the world’s beans.