Hi!
It is correct that the Lima Departure tax is now included on tickets (and has been for some years now), but if you are tecnically in transit (international to international) and not departing, then it is not included on the ticket (as it doesn't apply to passengers in transit).
As to whether they will charge you this (if you exit) when reentering the secure area, I can't say for sure. The international departure tax is US$30.74.