Sean St Ledger snatched a last-gasp winner as Leicester reached the second round of the Capital One Cup with a 2-1 win over League Two outfit Wycombe.