Firstly, this shouldn’t be the code for your Lightbox. This should go on your Product page.
For this, you will have to need to correctly fetch the data that was passed from the product page to your lightbox and fill in the respective fields in your form by mapping it with their field IDs (this is, if you’re using the new Wix Forms).
This is a much more complex functionality that you’re aiming for. This would require advanced knowledge of Velo code and you’ll have to hire a developer to create this custom functionality on your site.