The buff is applied when the hit lands. Meaning, as an example, if you mistime Divine Seal slightly so it ends right before your Cure 2 goes off, then that Cure 2 won't be buffed. In your instance, you would get the Fey Illumination buff from that casted Physick.