A Stellar Library of H and He Line Absorption Profiles at High Resolution