How to get 5 volts from Lightning pinout?
Unfortunately, there seems to be no simple way to accomplish this. To do this, you would need a (Apple approved) device that can identify itself to the Apple device before it will output 5V power on the Lightning bus.
For some more background, look up:
https://apple.stackexchange.com/questions/119707/how-much-power-can-be-drawn-from-the-lightning-connector-by-a-external-device
and
https://en.wikipedia.org/wiki/Lightning_(connector)

Additional information from the Wikipedia page
&quot;Official Lightning connectors contain an authentication chip that made it difficult for third-party manufacturers to produce compatible accessories without being approved by Apple however, the authentication scheme has been cracked&quot;