Lifetime measurements of the A2Π1/2 state of BaF using laser spectroscopy