Taiwan vowed on Tuesday to fight China’s “increasingly out of control” behavior after Taipei lost another ally to Beijing when El Salvador became the third country to switch allegiances to China this year.