Legal challenges marked U.S. 2020 election long before voting day