Non-perturbative quark mass dependence in the heavy-light sector of two-flavour QCD