In a social media post on Saturday, former President Donald J. Trump wrote that “when I win, those people that cheated will be prosecuted to the fullest extent of the law.”