When the new program, which offers a pair of free tickets per year for each of 33 museums and institutions to any city resident with a library card, launched last month, thousands of people applied — and a number of venues quickly ran out of available tickets.