I can understand your concern for sure. My glider did the same thing! Mine ate a pretty big glob of it. What I did is this: make sure your glider eats some apples (good food and plenty of water in it) to try and rinse the polish down/get the taste out for it. I also dipped the apples in a bit of honey, gets the taste out and distracts the glider. Monitor your baby, but understand that it takes a large amount of ingested nail polish to truly harm the baby. It should be alright. If it shows any signs of sickness, definitely take it into a specialized vet for small mammals. Sugar gliders are naturally curious and random things like this do happen! Mine survived its experience with nail polish, please keep me posted how your baby is.
Brittanica