Spin-to-charge-current conversion in altermagnetic candidate RuO$_2$ probed by terahertz emission spectroscopy