Oregon’s challenge tests how far a president can go in using state troops for federal law enforcement.