Rather than setting the service bit `NODE_NETWORK` first and then unset
it, start out the bare minimum flags that every node serves and only add
`NODE_NETWORK` if we are running as a non-pruned node.
This is a backport of [[https://github.com/bitcoin/bitcoin/pull/25887 | core#25887]]