US states as Americans began casting ballots in the critical midterm elections that mark the first major voter test of Donald Trump's presidency, with control of Congress in the balance.