The dust-continuum size of TNG50 galaxies at z = 1–5: a comparison with the distribution of stellar light, stars, dust, and H2 | Synapse