Effect of lateral confinement on excitonic wavefunctions in T-shaped edge quantum wires