𝒩 = 2 dualities and Z-extremization in three dimensions