How would one extract the list of public keys from Electrum wallet?
You cannot get all of them in one go. You can call getpubkeys("address") for each address (or do it via the GUI by going to the Addresses tab, right clicking on an address, and selecting "Public Keys")

Alternatively, you can get your master public keys (xpub) and derive from those.