An iterative polygonal micromagnet design for spin–photon coupling on silicon