Hi,
The solid baking soda does not change colour of dry litmus paper because in solid states ions are not free to move. And solution of baking soda in water leads to change in the colour of dry litmus paper because in water baking soda dissociate into ions and ions leads to change in colour of litmus paper.
Regards