Learning Gaussian Mixtures with Generalised Linear Models: Precise Asymptotics in High-dimensions