A federal judge had ruled that the Washington arts institution must take the president’s name off its facade by Friday.