You have a few approaches, the main thing to understand about Webflow’s last item state selector is that it only applies to the Collection List Item element that wraps your content.
That means if you designed your element so that the left border was your history line, it would work fine.
However since that isn’t how you’ve designed it, here’s a simple approach. You can add this to your page head custom code.