Poland’s capital recognized its first same-sex marriage, implementing EU and domestic court orders to register unions performed abroad.