The molecular architecture of trainability explained by genetics