From a bookish, asthmatic child to mainstream hitmaker, the West Coast M.C. charted a distinctive path to hip-hop stardom.