I got a better idea.
Have a voting system the people can have faith in that is transparent enough and secure enough that Americans can have believe it's correct and they won't deny it.
Have politicians in control that don't do things that look fishy like trying to allow non Americans to vote, letting foreigners that have expressed being anti American and want to change American politics like George soros, and so on.
Instead of punishing someone for denying an election maybe we should have something where people trust it and won't deny it.
The only ones that get punished will be the ones who aren't in control at the moment.