Gov. Kathy Hochul and Letitia James, the state’s attorney general, have sued the Trump administration to protect new state laws that are similar to the East End Public Safety and Accountability Law, a version of which was passed by both East Hampton Town and Village this spring.