Prediction markets let people wager on anything from a basketball game to the outcome of a presidential election — and recently, the downfall of former Venezuelan President Nicolás Maduro.