Segregation and pursuit waves in activator-inhibitor systems