Your wolves will keep the talents. When you customize a wolf, it just changes their rarity and appearance. If you choose 'add talent,' it'll add one talent to your wolf's talent count.
That's how high talent customs are made- people make a 0R custom, then keep customizing the wolf as 0R adding one talent at a time, and then customizing the perk into a high rarity one if they wish. ^^
Absolute gave the short answer, rip