Inferring internal properties of Earth's core dynamics and their evolution from surface observations and a numerical geodynamo model