Tezt/Tezos: Fix the rpc endpoint of a node with a remote runner
What
Fix an issue to get the endpoint of a node when using a remote endpoint.
Why
When using a runner, we may want the public endpoint and not the private one.
How
Use an optional argument saying whether we want the public or the private one (default is public).