China detains rights lawyer ahead of 6-4