Distracted drivers were the cause of nearly a fifth of road crashes in Northern Ireland over the last year, new figures have revealed.