Largest values of the Stern sequence, alternating binary expansions and continuants