So, from these two verses, can we deduce that Noah’s sons were not righteous? Neither his wife? That there was only 1 on the whole earth?
Let's answer this one part at a time.
Addressing the Wife
Unless specifically singled out separately, a man and his wife were always considered a unit, with the wife being included with the mention of her husband. A most obvious example of this is found in the "begats" where only the man's name is mentioned for having had a child; clearly, the man did not have the child without his wife's help. But God sets the precedent for this with Adam and Eve in saying that He "called their name Adam" (Genesis 5:2). Thus, the man's name encompasses his wife as well.
In this passage in Ezekiel, wives are not singled out for separate mention. It is reasonable to conclude, therefore, that with their husband's name they are also identified.
Consider Job's case in support of this:
And the LORD said unto Satan, Behold, all that he hath is in thy
power; only upon himself put not forth thine hand. So Satan went forth
from the presence of the LORD. (Job 1:12, KJV)
God did not permit Satan to touch Job himself--but any of his possessions, including his children, were permitted. Unless we choose to see Satan as being kindhearted enough to preserve Job's wife, it becomes clear that God includes her with Job "himself," for she was protected throughout his trial.
So "Job" equals the man plus his wife; comprising two human beings.
Addressing the Sons and Daughters
The text says plainly that the righteousness of the three named would be unable to save their children. Daniel, being a eunuch, had neither wife nor children--so God is clearly speaking metaphorically.
However, as we look at both of the other two, we see good reason to believe that their children were not as righteous as they were.
Job's sons and daughters were all destroyed while eating and drinking wine at what appears to have been a party at their eldest brother's house. While no details of this occasion are given beyond this, it is suggestive of a lack of temperance or morality. The fact that they were destroyed implies that they were not so righteous as was their father--and supports our text in Ezekiel where God says plainly that the father's righteousness could not save his children.
Noah's case is similar. We know that Ham did something wicked for which his son Canaan was cursed by Noah; and we also know that Japheth was the oldest and yet was not the recipient of the birthright blessing which would have placed him in the line of Christ. As with Cain versus Seth, and Jacob versus Esau, when the birthright passed to a younger brother, a lack of righteousness on the part of the older one is the reason. We can reasonably conclude, therefore, that at least two of the three of Noah's sons were not righteous, even though God had graciously spared them through the Flood.
In this text of Ezekiel, God is stating a principle: one can only be saved by his or her own righteousness, and not by that of another--to include one's parents. It is possible, however, to read between the lines and to see that the children of the righteous men named were not as righteous as they were.