Anticipatory gene regulation driven by maternal effects in an insect-host system