Two nations trying to upgrade ties with Taipei, moves likely to anger officials in Beijing ahead of presidential summit