Quantum bright solitons in the Bose-Hubbard model with site-dependent repulsive interactions