Intended as a rebuke to President Trump, the exhibit hinged on a video camera mounted on the outside of the Museum of the Moving Image in Astoria, Queens, into which passers-by were invited to repeat the phrase “he will not divide us.” The aim was to stream online images of people repeating those words throughout Mr. Trump’s time in office.