An opposition leader in Belarus has been released after being detained trying to enter a political convention in Minsk .