I would ask the gate agent for seats together if you clear last minute. If they can’t help, I would ask the purser for help. It will work out. Kindness will go a long way. I suppose if you encounter an unhelpful purser, you could politely point out that you need to be seated close enough to your toddler that you can put their oxygen mask on if the masks drop.