Spellbane stops Wish
The description of Spellbane states (emphasis mine):
Select one spell per five caster levels at the time of casting. The spells selected cannot be changed after the spell is cast. This spell otherwise functions like antimagic field, except its emanation only prevents the functioning of the selected spells.
This spell can even negate an antimagic field, another instance of this spell, or any spell that specifies immunity to antimagic field (such as wall of force, prismatic sphere, and prismatic wall). Multiple spellbane effects can overlap. Their effects stack, preventing the functioning of every spell targeted by any of the multiple spellbane emanations. Spell effects created by artifacts or deities cannot be suppressed by this spell.
And the description of how antimagic fields work states (emphasis mine):
An antimagic field spell or effect cancels magic altogether. An
antimagic effect has the following powers and characteristics.
- No supernatural ability, spell-like ability, or spell works in an area of antimagic (but extraordinary abilities still work).
- Wall of force, prismatic wall, and prismatic sphere are not affected by antimagic. [...]
By RAW, antimagic fields prevent any and all spells from functioning. There are some exceptions as noted, but Wish is not one of them (and even if it were, Spellbane affects spells immune to antimagic fields).
Note, however, that if the Wish is cast from an artifact or deity, the teleportation would take effect. Effects from Wish are different than effects from artifacts, but effects from Miracle come from deities. To this respect, see Can Miracle overcome Dimensional Lock/Antimagic Field?
Specifically addressing your "local conditions" concern: Even though Pathfinder 1e doesn't have a "specific beats general" rule, the wording of "local conditions" is too vague and does not explicitly address anti-teleportation measures. My interpretation of RAW is the same than this answer, quote:
[Wish] doesn't explicitly bypass teleportation barriers, but it does lack the teleportation subschool and is of the rare 'universal' school which can help with some defenses. A generous GM may read 'regardless of local conditions' as bypassing certain teleportation barriers, but that's really referring to the difficulty spells ordinarily have placing creatures in spaces that are intrinsically hostile to them (like inside solid rock or a fish out of water or whatnot).
Intruders can exploit Wish to move as close as possible
Potential intruders can just wish to be transported to a oddly specific location, e.g.: «I wish that me and my present companions be transported to the place allowing us the easiest safe access to [very specific object or creature]»
Making a wish in that way metaphysically bypasses the problem: the wish itself can probe the whole plane in search for all kinds of defenses (including antimagic fields, dimensional anchors, et al) in order to calculate the best possible approach point. That means right next to the target is the wish itself decides that it can bypass spellbane, and the place with the weakest defenses in other case.