The chaotic riots that consumed Portland, Ore., during the summer of 2020 reverberated through a trial over President Trump’s efforts to send National Guard troops into the city’s streets.