Bacterial Mobility in Thin Liquid Films and Near a Solid Boundary