A new blood test could speed up development of “smart” cancer drugs by showing doctors how well they work in individual patients.