The United Methodist Church has elected a third openly gay and married bishop with the denomination’s support.