BTZ black hole from the structure of the algebra so(2,n)