The longtime director of the Institute of Contemporary Art/Boston is departing next year after 25 years leading the museum, including its move to the Seaport in 2006.