[ESP32] Update lighting-app with spake2p dependency for generation of factory partition (#17724)
[ESP32] Update lighting-app with spake2p dependency for generation of factory partition (#17724)

* [ESP32] Update lighting-app with spake2p dependency for generation of
factory partition

* Addressed review comments
nestlabs/connectedhomeip,nestlabs/connectedhomeip,nestlabs/connectedhomeip,project-chip/connectedhomeip,project-chip/connectedhomeip,nestlabs/connectedhomeip,project-chip/connectedhomeip,nestlabs/connectedhomeip,project-chip/connectedhomeip,project-chip/connectedhomeip,nestlabs/connectedhomeip,project-chip/connectedhomeip,nestlabs/connectedhomeip