Gate-based spin readout of hole quantum dots with site-dependent $g-$factors