Indirect Detection of Low-mass Dark Matter Through the $\pi^0$ and $\eta$ Windows