Right component supplies the sound: zhǔ → wǎng, with significant Old Chinese drift. Pure phonetic — the 'master' meaning of
主 doesn't carry. The original right side was a sprout over
土 'earth' meaning 'plants growing', simplified to
主 by visual approximation in the modern shape.