Transient localization in the kicked Rydberg atom