On the effect of Lyman α trapping during the initial collapse of massive black hole seeds