The Supreme Court has been asked to decide if a life sentence for a teenager violates the Constitution.