A correlated response of a parasite’s virulence and life cycle to selection on its host’s life history