If you want to create a library in the site collection 2 based on the library template file in the site collection 1, you must need to upload the library template file into the list templates gallery of site collection 2.
Here’re some references about how to create list from custom list template by PowerShell.
Create SharePoint list from list template using PowerShell
How to upload custom list template and create list instance from custom list template using PowerShell in SharePoint 2013
If the response is helpful, please click "Accept Answer" and upvote it.