Aaron Latham, a magazine writer whose stylish dispatch from the ringside of a mechanical bull at a Texas honky-tonk saloon inspired “Urban Cowboy,” the 1980 film that evoked the modern American West and became the most noted credit in his wide-ranging literary career, died July 23 at a hospital in Bryn Mawr, Pa. He was 78.