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.