I have been dealing with the same issue. My Apple TV dropping out of iTunes was driving me crazy. On a whim, I went into iTunes and chose the Apple TV in the side bar and went to the photo tab and clicked to share photos even though I am not using iPhoto on that mac. Ever since I did that Apple TV has not dropped out of iTunes!
Hmmm...gonna try that and see what happens. I still have occasional issues.