Lyndon James hit a career-best 91 as Nottinghamshire set Lancashire a formidable target on day three of their LV= Insurance County Championship encounter.