Court battles, Covid-19 restrictions and an ageing machine has resulted in a backlog of 1.4 million driver’s licence cards waiting to be issued