I literally had this exact scenario last month (afternoon SEA-LAX in C+, followed by LAX-JFK redeye in D1 on separate reservations) and was granted access to the D1 lounge in SEA without an issue. The agents had to enter the LAX-JFK flight details manually in the system.