States are preparing to help or thwart Trump’s second-term plans