A York D-Day veteran joined city leaders and figures from across the railway industry for a Remembrance Day service honouring those who fought for their country.