I think you'll find quite a few people would find it is quite a stretch.
The attack was planned by a group that wasn't the internationally recognized leadership of any country, and they hid in a war-torn country whose government was being violently contested. And the Taliban were also not recognized, at least not officially, as the leadership of Afghanistan.
So to call it an act of war is indeed a stretch.