The president stressed that the country was Asia’s bastion of Roman Catholicism, which is steadfastly against same-sex marriage.