You can’t check into the 2nd segment before the first segment is flown. SQ has an interline agreement with WY so they should be able to handle that; I would try at the check-in desk in JFK. Worst case you will need to get your 2nd BP in FRA - hope you have enough time there with terminal changes etc.