1) I wanted to ask you why doesn't Allah list Imamah as one of the qualities of the righteous?

2.177:

Righteousness is not that you turn your faces toward the east or the west, but [true] righteousness is [in] one who believes in Allah, the Last Day, the angels, the Book, and the prophets and gives wealth, in spite of love for it, to relatives, orphans, the needy, the traveler, those who ask [for help], and for freeing slaves; [and who] establishes prayer and gives zakah; [those who] fulfill their promise when they promise; and [those who] are patient in poverty and hardship and during battle. Those are the ones who have been true, and it is those who are the righteous.

2) Does the part where Allah says : "and who establishes the prayer and gives zakah"

Does this have anything to do with Imam Imam Ali(as)?

1) If you see the verse 2:177 it says that 'if you believe in Prophets'
Now let me ask please how do we believe and follow the Prophets?
The answer is Of course by what they have left for us?
When Quran asked Oh Prophet tell them “ I don’t ask any reward from you for my services except you show love to our Ahlulbayt". Then again question who are Ahlulbayt? And will tell who are they?
For sure Prophet himself. Therefore if it has not mentioned directly about the Aimmah but Prophet he himself is a proof for us. But we have many traditions where it has said about Aimmah and many Verses of Quran also.

2) Yes for sure no one in Islamic History deserves other that Imam Ali (a.s) for this ayah

إِنَّمَا وَلِيُّكُمُ اللَّهُ وَرَسُولُهُ وَالَّذِينَ آمَنُوا الَّذِينَ يُقِيمُونَ الصَّلَاةَ وَيُؤْتُونَ الزَّكَاةَ وَهُمْ رَاكِعُونَ

Only Allah is your Vali and His Apostle and those who believe, those who keep up prayers and pay the poor-rate while they bow.(5:55)