Activity-dependent neuroprotective protein recruits HP1 and CHD4 to control lineage-specifying genes