Coupled dynamics and evolution of primordial and recycled heterogeneity in Earth's lower mantle