check for WAL receiver if node is hot standby

Only check for a WAL receiver process if the node is not a Master and
is a Hot Standby.