Zaid Alsalami, Shaykh Dr Zaid Alsalami is an Iraqi born scholar, raised in Australia. He obtained a BA from Al-Mustafa University, Qom, and an MA from the Islamic College in London. He also obtained a PhD from... Answered 3 months ago

Bismihi ta'ala

Numerous reverts I have interacted with did face similar issues, where they feared backlash, and had to conceal their Islam. They would pray in secret, and so on. 

In answering your question, in your circumstances, your prayer will indeed be valid.

What I would like to recommend is that you correspond with other fellow reverts from your same background, and find feasable ways in how you are able to overcome some of the struggles and difficulties you might be facing. 

May the Almighty give you strength, and bless you for your accomplishments.