From Latin latere ("to be hidden"); physics uses it for delay since the 19th century.
The word comes from Latin latere, "to be hidden, to lie low". In physics, "latency period" was used from the 19th century for delayed responses (e.g., heat, nerve impulses). In computing, the sense arrived with time-sharing systems in the 1960s (access latency to disk and memory). In networking, the term is standard since the 1990s.
Latency is the new bandwidth. It is what users feel.
— Stuart Cheshire, Apple, *It's the Latency, Stupid*, 1996 (paraphrase)