With both immigrant and LGBTQIA+ communities at the forefront of political debates, the stakes for the future of these groups are higher than ever