Generalization Properties of Optimal Transport GANs with Latent Distribution Learning