Indonesia has blocked access to prediction market Polymarket after a bet was opened on its website about a potential premature exit from power of the president.