President Donald Trump's Department of Justice has sued Alaska, demanding the state not certify the election if the incumbent Republican loses.