Optimal latent period in a bacteriophage population model structured by infection-age