The Supreme Court heard a historic petition seeking to allow same-sex marriage although Malacañang earlier said the country is not yet ready for it