Analysis of electron confinement in GaN/AlxGa1−xN quantum wire nanostructure