What I suggest is to setup a conditional bibliography command. See Can I configure my document (e.g. draft/release version, color theme) when creating a PDF without modifying the Typst file directly?, so it will only import the references in the subfiles when you are in “subfile mode”.
In any case, I am curious about your issues with missing references, could you give more details?