Adaptive analytical ray tracing of black hole photon rings