The US government doesn't have to return 2020 election ballots seized from a county in Georgia, a judge has ruled.