Colonel Thomas Stanley, MP, 1st Royal Lancashire Militia