Bangladesh beat Scotland by 16 runs to secure their first ICC Women's T20 World Cup victory since 2014.