Infinitesimal null isotropy and Robertson–Walker metrics