New Zealand police have arrested a man over the attack that left cricketer Jesse Ryder fighting for his life.