The star who wrote, directed and acted in “A Real Pain” felt inspired to apply for a Poland citizenship after shooting his film on location.