Trump falsely declared victory while trailing in the vote and vowed to take his case to the Supreme Court