Inverse design of a GaP photon extractor for nitrogen-vacancy centers in diamond