A drug dealer who was spotted supplying drugs to a man in wheelchair in Bradford has been jailed for four years.