Taipei loses Panama in diplomacy race