Methodist top ruling body rejects amendment to doctrine that declares homosexuality as sin