Magnetism in Ancient Crystals Reveals When Earth’s Inner Core Emerged