Greece’s center-right government says it will fulfill a commitment to legalize same-sex marriage, sidestepping political dissent and staunch opposition from the country’s influential Orthodox Church.