Split out of #37344.
This is compatible with char** and is what I originally asked for in https://github.com/systemd/systemd/pull/36858#discussion_r2086792739 Someone needs to read better ;-)
This is modelled after the polkit or askpw agents, but simply invokes journalctl for the specified unit name, to show logs.