Trump’s latest court battle explains the 2018 Republican campaign