Doping Nanoscale Graphene Domains Improves Magnetism in Hexagonal Boron Nitride