Localized nonlinear waves in a Kerr medium with radially and azimuthally modulated nonlinearity and an external potential