Dynamical flavour dependence of static heavy meson decay constants on the lattice