The prison cell of a Melbourne teenager who allegedly plotted a series of terrorist attacks across the city has been raided as he appeared in court.