A bid to convert a former hotel in one of Blackpool's main holiday areas into bedsits has been thrown out by town hall planners.