US President Barack Obama writes to the family of slain LGBT magazine editor Xulhaz Mannan and extends his condolences.