The White House is criticizing Democrats' lawsuit against President Donald Trump's attempt to reshape elections.