A Deligne-Simpson problem for irregular $G$-connections over $\mathbb{P}^{1}$