With submarine projects stalled and frigate funding cut, Thailand’s fleet risks being outpaced by regional rivals.