All perfect praise be to Allah, The Lord of the Worlds. I testify that there is none worthy of worship except Allah, and that Muhammad is His slave and Messenger.
The distance that makes Friday prayer obligatory on the person is three miles. So if the person is within three miles of the mosque where the Friday prayer is performed, he must pray there. This is the preponderant opinion of the Muslim scholars. The evidence for this is the Hadeeth of the blind man who came to the Prophet asking him permission to give up praying in the mosque. The Prophet said to him: “Do you hear the Athaan (call to prayer)?” When the man replied positively, the Prophet told him to answer the call (i.e. to come to the mosque). Generally, the call with a normal voice –without loudspeakers –is heard for about three miles. As a result, anybody who lives in a place where there is no mosque in which Friday prayer is performed and the closest mosque to him is more than half an hour by car is not obliged to pray Friday prayer, especially if going to it could cause him some harm.
But if there is no harm in going to the mosque, no matter how far it is –then attending the Friday prayer with the Muslims brings many benefits to the person and has a great reward.
The Hadeeth you referred to is a sound Hadeeth. Abu Hurayrah narrated that the Prophet said: “Those who are not attending the Friday prayer should change their ways; otherwise, Allah, the Exalted, will seal their hearts and they will be reckoned the heedless.” [Muslim]
We think that this Hadeeth does not refer to your case. We believe, however, that you should look for an Islamic environment where you can perform your Islamic duties in the best way, and the land of the non-Muslim is definitely not that environment.
Allah knows best.