BEIJING — The teenage son of two celebrity singers for the Chinese military was convicted of rape Thursday and sentenced to 10 years in prison, in a case the public closely watched for signs of leniency because of his family ties.