Federal health officials in five states, including Washington, have warned people believed to be infected with measles and planning to travel that a federal regulation could prevent them from boarding planes.