Trump sues in 3 states, laying ground for contesting outcome