Substitution, meaning displacement reactions are Sn1 or Sn2. These reactions are dependent on the leaving group, nucleophilicity vs base of attacking group, and solvent. Currently you have two good leaving groups (Br) and strong bases. Strong bases (have localized electron density, no resonance etc.) favor proton attack due to partial + charge on H, no spatial constraints. So the protons are attacked preferentially. It would be much easier sterically and kinetically compared to either Sn2 (recall l, these also requires specific orientation of attack) or Sn1. These reactions will occur but at much much small amounts, such that on time of reaction they are minimal.
The reason for the -yne product is because there are two adjacent leaving groups. Once the first comes off (which is aided by partial resonance by the other Br), the electron densities around the double bond, the large radii of Br, along with the positive charge character on Br due to resonance, it easier to remove the next Br, but this requires a strong base. The amine is definitely strong enough, but so is the OH ( less so due to higher electronegativity of Oxygen which doesn't want to share its electrons so to speak )
Because you end up with a -yne it doesn't matter which Br is removed first, regarding the final regiostereochemistry.