iptables: fix to work with nft backend
The nft backed does not use /proc/net/ip*_tables_names. refactor so we no longer use this.
Assume that all families are active as long as /proc/net/raw* exists.
Execute iptables-save and read the tables from the outputs. All lines starting with '' are tables.
Fixes #9658 (closed)