When Rafael Espinal took office in February as New York City’s entertainment chief, he looked around and saw a city that was thriving but had yet to recover from a yearslong slump in film and TV production.