The rapidly growing popularity of prediction markets is sparking worries about the markets’ effects on US politics, where campaign staff has bet on its candidate’s electoral performance.