A year ago, Associated Press photographs showing young people in such enclosures were misrepresented online as depicting child detentions by Trump and denounced by some Democrats and activists as illustrating Trump’s cruelty. In fact, the photos were taken in 2014 during the Obama administration.