Towards laser cooling and trapping of barium monohydride