Resolving Site-Specific Energy Levels of Small-Molecule Donor-Acceptor Heterostructures Close to Metal Contacts