Passenger train services were delayed by the equivalent of more than 100 days in a year due to lorries hitting bridges - with one West Yorkshire bridge being struck 14 times in a year.