Is a woman`s prayer considered invalid if non-Mahrams (marriageable men) saw her offering it?
A woman`s prayer isn`t invalidated if non-Mahrams saw her offering it, but she had better pray in isolation.
My husband told me that he concluded our marriage with a fake name that belongs to another person, because he was sentenced. Nowadays, he recieved an ID, passport and birth certificate with the his current name. What is the ruling on being married to him?
Praise be to Allah, The Lord of The Worlds, and may His peace and blessings be upon our Prophet Muhammad and upon all of his family and companions. As regards being married to the person mentioned in your question: The marriage is valid so long as he was the same person your guardian concluded the marriage with, even if he changed his name i.e. if your marriage contract was concluded with the same person, since what counts regarding marriage is the persons not names. And Allah Knows Best.
What should a praying person who doubts having offered one, or two prostrations in the third Rakah (unit of prayer) do?
Whoever has doubts about their prayer should consider what is less i.e. the above person should offer another Sajda (prostration) and complete his/her prayer, then offer Sujood As-Sahw (prostration of forgetfulness). And Allah Knows Best.
How should I deal with the whispers of the devil with regard to ablution and purity?
Whispers in ablution are from the devil, and so you should take refuge in Allah from the devil`s evil suggestions that aim to distort the religion. Thus, once an organ is completely pure, don`t question its purity since having whispers doesn`t mean that the purity is invalid as it has already been established.