Modulation of superconductivity by a magnetic template in Nb/BaFe12O19 hybrids