Man refused bail for allegedly taking drugs into Lithgow jail