Magnetic pulley for conveyor belt