Jon could not have declined the kingship without great consequences, but there was nobody else to take the mantle. The North would not follow a queen who had no martial training, especially with a capable and proven brother in the picture, regardless of his perceived bastardy.