The Archbishop of Wales has hinted that Anglican opposition to equal marriage is not set in stone.