Lack of urgency in government as Covid spread, inquiry told