I think that there is no relation between the two matters. We can all see some Muslim countries supporting the US in its so-called “Anti-Terrorism Campaign” and even support the US to fight Islam under the pretext of fighting terrorism. Every Muslim finds himself on the horns of a dilemma, for he has to support his Muslim brothers and there is a rope tied around his neck. However, Allah does not place something on people beyond their capability. A Muslim cannot escape paying the taxes whether in a Muslim or a non-Muslim country regardless of how the taxes paid are used and despite the fact that the taxes may be used in fighting Islam and Muslims.
There are many other things a Muslim can do in this case, such as boycotting the Israeli and American products, especially those that benefit the economy of the countries fighting Islam. Here, we should strike an equitable balance between the harms and the benefits and spare no pains in this concern. We should always remember the verse that reads: (…He (Allah) hath not laid upon you in religion any hardship…) (Al-Hajj 18: 78)