First European-built F-35 has maiden flight