Structure and function at the lipid–protein interface of a pentameric ligand-gated ion channel