Generate to Discriminate: Expert Routing for Continual Learning