The Welsh government says it is consulting on an "undergrounding-first approach" to electricity lines.