New York’s top court was in accord on Tuesday in ruling that an app that municipalities offer to allow the public to suggest road fixes serves as prior written notice of those defects.