Justices weigh rules for when public officials can block critics on social media