The effect of primordial non-Gaussianity on the topology of large-scale structure