As always, if this situation applies to you practically, consult with a rabbi who knows you and your situation well before taking action, especially to engage in confrontation.
You have an obligation to go only if you think they or other attendants at the wedding will listen e.g close family who respect your opinion. You should protest (see source below) what is is being before or during the wedding, in an informative non aggressive way by first mentioning that G-d bestowed so much good to them in form of health wealth happiness etc.,and we should thank him by following his ways and not transgressing the mitzva of "A man you shall not sleep with like a woman"(leviticus 18, 22). Also tell them that G-d will bless them to find true happiness with a woman spouse if they take upon themselves just this one mitzva of sanctity that separates us from the other nations.
this is with regards to 2 men.
while 2 women is not a prohibition as severe as 2 men which is Chayav sekila -death by stoning, it is still a unity of disgust as said in the Shulchan aruch even haezer 20, 2
נשים המסוללות (פירוש המשחקות והמתחככות) זו בזו -- אסור, וממעשה ארץ מצרים שהוזהרנו עליו, וראוי להכותן מכת מרדות הואיל ועשו איסור. ויש לאיש להקפיד על אשתו מדבר זה, ומונע הנשים הידועות בכך מלהכנס לה ומלצאת היא אליהן: women who have a unity is prohibited and is under the category of "Don't do like the actions of the Egyptians"(vayikra 18, 3), and they are fitting to be lashed rabbinic lashes since they have sinned. So the same degree of action should be taken just quoting the relavent source.
the source of reprimanding someone who misconducts himself. is in the torah Vayikra 19,17 הוכח תוכיח את עמיתך ולא תשא עליו חטא see sefer hachinuch 239 and rambam sefer hamitzvos asei 205:להוכיח אחד מישראל שאינו מתנהג כשורה בין בדברים שבין אדם לחברו או בין אדם למקום, שנאמר (ויקרא יט יז) הוכח תוכיח את עמיתך ולא תשא עליו חטא. ואמרו בספרא (קדושים פרק ד מ"ח) מנין אם הוכחתו ארבעה וחמשה פעמים ולא חזר, שאתה חייב לחזור ולהוכיח? תלמוד לומר הוכח תוכיח. ועוד אמרו זכרונם לברכה בגמרא (ב"מ לא א) הוכח תוכיח אפילו מאה פעמים. ואמרו שם בספרא יכול מוכיחו ופניו משתנות? תלמוד לומר ולא תשא עליו חטא. וזה מלמד שבתחלת התוכחה שראוי לאדם, להוכיח בסתר ובלשון רכה ודברי נחת, כדי שלא יתביש, ואין ספק שאם לא חזר בו בכך, שמכלימין החוטא ברבים ומפרסמין חטאו ומחרפין אותו עד שיחזר למוטב.
Sotah 3a is specifically written with regards reprimanding in a case of pritzus.
תנא דבי רבי ישמעאל אין אדם מקנא לאשתו אא"כ נכנסה בו רוח שנאמר ועבר עליו רוח קנאה וקנא את אשתו מאי רוח רבנן אמרי רוח טומאה רב אשי אמר רוח טהרה ומסתברא כמאן דאמר רוח טהרה
Rashi there says רוח טהרה - ששונא את הפריצות:
I pray to Hashem that they should change their ways as EVERY JEW that keeps ANY MITZVA is crucial for the continuity of this world