A federal appeals court has upheld a ruling to forcibly medicate the incarcerated ex-boyfriend of rapper Lil’ Kim so he can competently stand trial for the murders of six people.