The release of harmful fumes occurs mostly during the painting and drying process. Therefore, so long as the room is well ventilated and you leave sufficient time between painting the bed and and its eventual use, the long term effects are minimal.
If you want to be absolutely safe though, you can indeed paint again with a low/zero VOC paint and this will have the effect of sealing-in the previous finish.