A prion epigenetic switch drives inheritance of an activated chromatin state