You will still get stress
Jeremy Crawford has clarified exactly this in this tweet:
Wish spell: (1) Duplicated a spell of 8th level or lower? No stress. (2) Did anything else with wish? Stress. #DnD
A normal reading of the rules you already quote also specify "any effect other than duplicating a spell" so I think it is very clear that this is the case
This doesn't work (Option 3*).
The provisions you mention for Teleportation Circle and Guards and Wards are part of the spell effect, not a requirement to cast the spell. You aren't casting a different spell or even a different mode of spell when you cast it that final, 365th time. Rather, you cast the spell as normal, and then because of when and where you cast it (in a place where that same spell had been cast 364 times before), something extra happens on top of the normal spell effect.
You could almost certainly create a permanent portal or warded area using the open-ended version of Wish, though of course that would entail the 33% chance of not being able to cast it again as usual.
As for casting the spell through Wish, that wouldn't work by RAW. By the wording on Wish, you aren't actually casting Teleportation Circle or Guards and Wards, you are casting Wish, with the effects of the other two spells swapped in. "this spell" will refer to Wish when you duplicate it this way.
*However this does open up an extra method. If you cast Wish in a location every day for 364 days, then you can use it to cast Teleportation Circle and/or Guards and Wards on the 365th (or later) day to get the permanent effects of those spells. Notably, it doesn't matter what spell you use Wish to cast, as long as you cast some spell each day. You could even use the non-duplicating version of Wish if you so choose, as long as you don't lose the ability to cast it of course.
So for example, you could spend 364 days using Wish to cast Wall of Stone on the same spot, creating a wizard fortress, and then on the 365th and 366th day use Wish to cast Teleportation Circle and Guards and Wards to permanently create those effects in your new home. You could even keep casting these on later days to set up additional Guards and Wards and/or Teleportation Circles if you wish, as long as you cast them from the same position.
Best Answer
Yes
You may attempt to do anything with this spell, but going outside the duplication of an 8th level or lower spell represents risk. The DM determines any potential result, but the stress will be a risk you'll definitely endure.